package com.shopcart.domain;
import javax.persistence.Entity;


import javax.persistence.Id;

import javax.persistence.Table;

import javax.persistence.Column;

import java.util.Date;


@Entity
@Table(name="s_order_pay")
public class OrderPay {

	@Id
	private String id;
	@Column(name="order_id")
	private String orderId;
	@Column(name="total_id")
	private String totalId;
	@Column(name="create_time")
	private Date createTime;
	@Column(name="modify_time")
	private Date modifyTime;
	@Column(name="pay_type")
	private Integer payType;
	@Column(name="state")
	private Integer state;


	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getOrderId(){
		return orderId;
	}
	public void setOrderId(String orderId){
		this.orderId = orderId;
	}
	public String getTotalId(){
		return totalId;
	}
	public void setTotalId(String totalId){
		this.totalId = totalId;
	}
	public Date getCreateTime(){
		return createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}
	public Date getModifyTime(){
		return modifyTime;
	}
	public void setModifyTime(Date modifyTime){
		this.modifyTime = modifyTime;
	}
	public Integer getPayType(){
		return payType;
	}
	public void setPayType(Integer payType){
		this.payType = payType;
	}
	public Integer getState(){
		return state;
	}
	public void setState(Integer state){
		this.state = state;
	}

	
}
